﻿using System;
using System.Collections.Generic;
using System.Text;
using CVSS.Client.CIQS.Entity;

namespace CVSS.Client.CIQS.Entity.StatPeccancy
{

    #region 统计结果显示实体

    #region 违法类型基类实体
    /// <summary>
    /// 为按车辆类型进行统计的基类实体
    /// </summary>
    public class Peccancy_Ety : BaseInfo_Ety
    {
        private int overspeednum;
        /// <summary>
        /// 超速违章记录数
        /// </summary>
        public int OverSpeedNum
        {
            get { return overspeednum; }
            set { overspeednum = value; }
        }


        private int tirednum;
        /// <summary>
        /// 疲劳违章记录数
        /// </summary>
        public int TirdNum
        {
            get { return tirednum; }
            set { tirednum = value; }
        }

        private int overloadnum;
        /// <summary>
        /// 超载违章记录数
        /// </summary>
        public int OverLoadNum
        {
            get { return overloadnum; }
            set { overloadnum = value; }
        }

    }
    #endregion

    #region 按超速违章进行统计
    /// <summary>
    /// 按超速违章进行统计
    /// </summary>
    public class StatByOverSpeed_Ety : Vehicle_Ety
    {

        private int overspeednum;
        /// <summary>
        /// 超速违章记录数
        /// </summary>
        public int OverSpeedNum
        {
            get { return overspeednum; }
            set { overspeednum = value; }
        }

    }
    #endregion

    #region 按疲劳驾驶违章进行统计
    /// <summary>
    /// 按疲劳驾驶违章进行统计
    /// </summary>
    public class StatByTired_Ety : Vehicle_Ety
    {

        private int tirednum;
        /// <summary>
        ///疲劳速违章记录数
        /// </summary>
        public int pTirdNum
        {
            get { return tirednum; }
            set { tirednum = value; }
        }

    }
    #endregion

    #region 按超载违章进行统计
    /// <summary>
    /// 按超载违章进行统计
    /// </summary>
    public class StatByOverLoad_Ety : Vehicle_Ety
    {

        private int overloadnum;
        /// <summary>
        /// 超载违章记录数
        /// </summary>
        public int OverLoadNum
        {
            get { return overloadnum; }
            set { overloadnum = value; }
        }
    }
    #endregion

    #region 按客车类型进行统计
    /// <summary>
    /// 按客车类型进行统计
    /// </summary>
    public class StatByBus_Ety : Peccancy_Ety
    {
        private int busnum;
        /// <summary>
        /// 客车违法记录数
        /// </summary>
        public int BusNum
        {
            get { return busnum; }
            set { busnum = value; }
        }
    }
    #endregion

    #region 按小车类型进行统计
    /// <summary>
    /// 按小车类型进行统计
    /// </summary>
    public class StatByCar_Ety : Peccancy_Ety
    {
        private int carnum;
        /// <summary>
        /// 小车违法记录数
        /// </summary>
        public int CarNum
        {
            get { return carnum; }
            set { carnum = value; }
        }
    }
    #endregion

    #region 按货车类型进行统计
    /// <summary>
    /// 按货车类型进行统计
    /// </summary>
    public class StatByTruck_Ety : Peccancy_Ety
    {

        private int trucknum;
        /// <summary>
        /// 货车违法记录数
        /// </summary>
        public int TruckNum
        {
            get { return trucknum; }
            set { trucknum = value; }
        }

    }
    #endregion

    #region 按违章类型进行统计时选择了“全部”
    /// <summary>
    /// 按违章类型进行统计时选择了“全部”
    /// </summary>
    public class StatByPeccancy_Ety : BaseInfo_Ety
    {
        //private string carmember;
        ///// <summary>
        ///// 车队名称
        ///// </summary>
        //public string CARMEMBER
        //{
        //    get { return carmember; }
        //    set { carmember = value; }
        //}

        //private DateTime statdate;
        ///// <summary>
        ///// 统计日期
        ///// </summary>
        //public DateTime STATDATE
        //{
        //    get { return statdate; }
        //    set { statdate = value; }
        //}

        private int overspeednum;
        /// <summary>
        /// 超速违章记录数
        /// </summary>
        public int OVERSPEEDNUM
        {
            get { return overspeednum; }
            set { overspeednum = value; }
        }


        private int tirednum;
        /// <summary>
        /// 疲劳违章记录数
        /// </summary>
        public int TIREDNUM
        {
            get { return tirednum; }
            set { tirednum = value; }
        }

        private int overloadnum;
        /// <summary>
        /// 超载违章记录数
        /// </summary>
        public int OVERLOADNUM
        {
            get { return overloadnum; }
            set { overloadnum = value; }
        }

        private int totalnum;
        /// <summary>
        /// 违章总数
        /// </summary>
        public int PECCANCYNUM
        {
            get { return totalnum; }
            set { totalnum = value; }
        }
        
        private int busnum;
        /// <summary>
        /// 客车违法记录数
        /// </summary>
        public int BUSNUM
        {
            get { return busnum; }
            set { busnum = value; }
        }

        private int carnum;
        /// <summary>
        /// 小车违法记录数
        /// </summary>
        public int CARNUM
        {
            get { return carnum; }
            set { carnum = value; }
        }

        private int trucknum;
        /// <summary>
        /// 货车违法记录数
        /// </summary>
        public int TRUCKNUM
        {
            get { return trucknum; }
            set { trucknum = value; }
        }
       
    }
    #endregion

    #region 按车辆类型进行统计时选择“全部”
    /// <summary>
    /// 按车辆类型进行统计时选择“全部”
    /// </summary>
    public class StatByVehicle_Ety : Peccancy_Ety
    {
        private int busnum;
        /// <summary>
        /// 客车违法记录数
        /// </summary>
        public int BusNum
        {
            get { return busnum; }
            set { busnum = value; }
        }

        private int carnum;
        /// <summary>
        /// 小车违法记录数
        /// </summary>
        public int CarNum
        {
            get { return carnum; }
            set { carnum = value; }
        }

        private int trucknum;
        /// <summary>
        /// 货车违法记录数
        /// </summary>
        public int TruckNum
        {
            get { return trucknum; }
            set { trucknum = value; }
        }

        private int totalnum;
        /// <summary>
        /// 违章总数
        /// </summary>
        public int TotalNum
        {
            get { return totalnum; }
            set { totalnum = value; }
        }
    }
    #endregion

    #endregion
}
